/* 全局样式 */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #f0f0f0;
  margin: 0;
  padding: 20px;
}

.app-container {
  max-width: 1200px;
  margin: 0 auto;
}

.app-title {
  text-align: center;
  color: #228B22;
  /* 森林绿 */
  margin-bottom: 20px;
}

.card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
}

.input-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-weight: 500;
}

.input-group input,
.input-group textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  /* flex: 1; */
  height: 200px;
  background-color: rgb(242, 249, 252);
}

.action-button {
  background-color: #87CEEB;
  /* 天空蓝 */
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  margin: 10px 0;
}

.action-button:hover {
  background-color: #6495ED;
}


.split-container {
  display: flex;
  gap: 20px;
  min-height: calc(100vh - 150px); /* 减去标题和其他间距的大致高度 */
}

.left-section {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.right-section {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card {
  flex: 1; /* 让卡片自适应高度 */
  display: flex;
  flex-direction: column;
}

.input-group {
  flex: 1; /* 让输入组自适应高度 */
}

.input-group input,
.input-group textarea {
  flex: 1; /* 让输入框和文本域自适应高度 */
  height: auto; /* 重置固定高度 */
}

.tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-buttons button {
  background-color: white;
  border: 1px solid #87CEEB;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tab-buttons button.active {
  background-color: #87CEEB;
  color: white;
}